wayland: Don't use double buffers for wayland when not needed
authorAlexander Larsson <alexl@redhat.com>
Mon, 29 Apr 2013 19:49:12 +0000 (21:49 +0200)
committerAlexander Larsson <alexl@redhat.com>
Tue, 7 May 2013 14:33:01 +0000 (16:33 +0200)
commit590366f0e7944b6228d362d385ae2d631a82a294
tree791cae813190aae04d11e3a6fc5c3fc1b56f8b2a
parent6115961175ebe1978369a9cb3683cd403b545470
wayland: Don't use double buffers for wayland when not needed

If we got the release event for the last buffer then we're
fine with writing directly to the window surface, as wayland
will not be looing at it. This saves us from allocating
and copying more data.
gdk/wayland/gdkwindow-wayland.c